﻿<%@ Page Title="" Language="VB" MasterPageFile="~/App/Master/App.master" AutoEventWireup="false" CodeFile="esempio1.aspx.vb" Inherits="App_esempio1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphHead" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphMainContent" runat="Server">
    <asp:UpdatePanel ID="UpPToolBarMap" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <div id="content_UpPToolBarMap">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
                    <Columns>
                        <asp:TemplateField ShowHeader="False">
                            <EditItemTemplate>
                                <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="True" CommandName="Update" Text="Aggiorna"></asp:LinkButton>
                                &nbsp;<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandName="Cancel" Text="Annulla"></asp:LinkButton>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Edit" Text="Modifica"></asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="nome">
                            <EditItemTemplate>
                                <asp:TextBox ID="TxtName" runat="server" Text='<%# eval("name") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label1" runat="server" Text='<%# eval("name")  %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:Repeater runat="server" ID="Rptpippo">
        <SeparatorTemplate>
            |
        </SeparatorTemplate>
        <ItemTemplate>
            <%# eval("name") %>
        </ItemTemplate>
    </asp:Repeater>
    <asp:GridView ID="GridUsers" runat="server" AutoGenerateColumns="False" AllowSorting="true" AllowPaging="True" Width="100%">
        <Columns>
            <asp:TemplateField HeaderText="Nome">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# eval("fullname") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="image">
                <ItemTemplate>
                    <img src="<%# eval("avatar") %>" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="location">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# eval("location") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="follower">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# eval("follower_count") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Content>
